#include "ConnectWidget.h"
#include <QTabWidget>

int main(int argc, char * argv[])
{
    QApplication app(argc, argv);

    QTextCodec::setCodecForCStrings(QTextCodec::codecForName("utf8"));
    QTextCodec::setCodecForLocale(QTextCodec::codecForName("utf8"));
    QTextCodec::setCodecForTr(QTextCodec::codecForName("utf8"));

    QTabWidget* tabWidget = new QTabWidget();
    tabWidget->setTabsClosable(true);
    tabWidget->addTab(new ConnectDialog(tabWidget), "Компоненты");
    tabWidget->show();

    return app.exec();
    //return 0;
}
